package com.guilin.system.service;


public interface ForumLikeService {

    /**
     * 点赞
     * @param threadId
     * @return
     */
    boolean likeThread(Long threadId);

    /**
     * 取消点赞
     * @param threadId
     * @return
     */
    boolean unlikeThread(Long threadId);

    /**
     * 查询点赞数
     * @param threadId
     * @return
     */
    boolean hasLiked(Long threadId, Long userId);
}